package com.whmskj.xjlhsc.controller.vo;

import lombok.Data;
import java.util.List;

/**
 * 能耗数据视图对象
 */
@Data
public class EnergyVO {
    private double totalEnergy; // 总能耗
    private String unit; // 单位 (Kwh)
    private List<EnergyTypeRatioVO> typeRatio; // 各设备类型能耗占比
    private List<EnergyTrendVO> trendData; // 趋势数据（小时/日/月）
    
    public EnergyVO() {}
    
    public EnergyVO(double totalEnergy, String unit, List<EnergyTypeRatioVO> typeRatio, List<EnergyTrendVO> trendData) {
        this.totalEnergy = totalEnergy;
        this.unit = unit;
        this.typeRatio = typeRatio;
        this.trendData = trendData;
    }
}